cppreference.com
Search
Log in / create account
Namespaces
Page
Discussion
Variants
Views
View
Edit
History
Actions
cabsf, cabs, cabsl
From cppreference.com
<
c
|
numeric
|
complex
C
Language
Standard Library
Type support
Dynamic memory management
Error handling
Program utilities
Date and time utilities
Strings library
Algorithms
Numerics
Input/output support
Localization support
Thread support
(C11)
Atomic operations
(C11)
[edit]
Numerics
Common mathematical functions
Floating-point environment
Complex number arithmetics
Random number generation
Type-generic math
[edit]
Complex number arithmetic
Types and the imaginary constant
complex
Complex_I
CMPLX
imaginary
Imaginary_I
I
Manipulation
cimag
creal
carg
conj
cproj
Power and exponential functions
cexp
clog
cpow
csqrt
Trigonometric functions
ccos
csin
ctan
cacos
casin
catan
Hyperbolic functions
ccosh
csinh
ctanh
cacosh
casinh
catanh
[edit]
Defined in header
<complex.h>
float
cabsf
(
float
complex
z
)
;
(since C99)
double
cabs
(
double
complex
z
)
;
(since C99)
long
double
cabsl
(
long
double
complex
z
)
;
(since C99)
Computes the complex absolute value of
z
.
[
edit
]
Parameters
z
-
complex argument
[
edit
]
Return value
The complex absolute value of
z
.
[
edit
]
Example
This section is incomplete
Reason: no example
Category
:
Todo no example